package c.a.a.a0;

import android.content.res.AssetManager;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable.Callback;
import android.view.View;
import c.a.a.b0.i;
import c.a.a.e0.c;
import java.util.HashMap;
import java.util.Map;

/* compiled from: FontAssetManager */
public class a {
    public final i<String> a = new i();
    public final Map<i<String>, Typeface> b = new HashMap();
    public final Map<String, Typeface> c = new HashMap();
    public final AssetManager d;
    public String e = ".ttf";

    public a(Callback callback) {
        if (callback instanceof View) {
            this.d = ((View) callback).getContext().getAssets();
            return;
        }
        c.b("LottieDrawable must be inside of a view for images to work.");
        this.d = null;
    }
}
